<!DOCTYPE html>
<html>
<head lang="zh-cn">
    <meta charset="UTF-8">
    <title>autoRelease</title>
    <script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/vConsole/3.3.0/vconsole.min.js"></script>
</head>
<body>

    
</body>
</html>

<script type="text/javascript">
    //var vConsole = new VConsole();
    $(function() {
        
        $('#update').submit(function (e) {
            e.preventDefault();
            $.post('/postData/', $(this).serialize(), function (response) {
                console.log(response);
            }, 'json');
            return false;
        });
        
        $("#bntGet").on('click',function(e){
            e.preventDefault();
            $.get('/getData/', $(this).serialize(), function (response) {
                console.log(response);
            }, 'json');
            return false;

        })
        
    });
</script>
